// 玩家功法表
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const ObjectId = Schema.Types.ObjectId;

const SchoolSkillsSchema = new Schema({
    school: {
        type: ObjectId,
        ref: "schools",
        require: true
    },
    skill: {
        type: ObjectId,
        ref: "skills"
    },
    buff: {
        type: ObjectId,
        ref: "buffs"
    }
});

module.exports = School_skill = mongoose.model("schoolskill", SchoolSkillsSchema);